package com.example.kuaizu.pojo;

import jakarta.validation.constraints.Min;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PromotionArrayObject implements Serializable {
    private static final long serialVersionUID = 1L;
    //学校
    @Min(value = 0,message = "学校id不能小于1")
    private Integer school;
    //学校专业id
    @Min(value = 0,message = "学校专业id不能小于1")
    private Integer schoolMajor;

}
